export type CanvasContext = WechatMiniprogram.CanvasRenderingContext.CanvasRenderingContext2D;

export type AddInteractiveShape = (type: string, id: string, rect: { x: number; y: number; width: number; height: number }) => void;






